package com.szrt.java.day20161227.demo04;

import java.util.Arrays;

import org.junit.Test;

public class ArrayModify01 {

	@Test
	public void arrayModify(){
		
		int[] array = new int[]{5,8,4,9,2,1,};
		
		System.out.print("修改前："+Arrays.toString(array));
		array[3] = 99;
		
		System.out.println();
		System.out.println("修改后："+Arrays.toString(array));
		
	}
	
}
